function main() {

    let self = this;
    let tabElement = self.$$element("table_4z1gyd");
    let selectedRows = tabElement.$$getSelection().selectedRows;

    let ids = [];
    if (selectedRows.length >= 0) {
        for (let i = 0; i < selectedRows.length; i++) {
            //selectedRows[0].id.value
            ids.push(selectedRows[i].id.value); // 将每个选中行的ID添加到数组中
        }
    } else {
        
    }
    
    console.log(ids);

}